import engine from "../Engine";
import { gui } from "../gui/GUI";
import { VideoCall as adCall } from "./util/CCGlobal";


export class AdsBase {

    /**广告id */
    public id: number = 0;
    /**广告实例 */
    public ad: any = null;
    /**视频展示中 */
    public videoShowing: boolean = false;
    /**调用回调 */
    public adCall: adCall = null;


    public init() {

    }

    public loadVideoAd(opt: adCall) {

    }

    public showToast() {
        gui.showTips("当前暂未拉取到，请稍后再试")
        // CommonFunc.showTips("当前暂未拉取到，请稍后再试");
    }

    public toSidebar(opt: adCall) {

    }

    public shareAppMessage(opt: adCall) {

    }

    public addShortcut(opt: adCall) {

    }

    public createInterstitial(opt: adCall) {

    }
}


